/**
 * 文件名：ResponseResult
 * 版权：Copyright 2017-2022 CMCC All Rights Reserved.
 * 描述：
 */

package com.hand.project.result;

import lombok.Data;

/**
 *
 * 自定义返回类
 *
 * @author shuai.wang02@hand-china.com
 * @version 1.0
 * @date 2018/11/19 22:48
 */
@Data
public class ResponseResult {
    private  int flag;
    private  Exception e;
    private  String message;

    public ResponseResult(int flag, String message) {
        this.flag = flag;
        this.message = message;
    }

    public ResponseResult(int flag, Exception e) {
        this.flag = flag;
        this.e = e;
    }
}
